#ifndef EVENTSHANDLER_H
#define EVENTSHANDLER_H
#include "includes.h"
#include "result.h"

class EventsHandler{
public:
    virtual Result mousePressEvent(QMouseEvent *event)
    {
        return Result(true);
    }
    virtual Result mouseMoveEvent(QMouseEvent *event)
    {
        return Result(true);
    }
    virtual Result mouseReleaseEvent(QMouseEvent *event)
    {
        return Result(true);
    }
    virtual Result mouseEnterEvent(QEvent *event)
    {
        return Result(true);
    }
    virtual Result mouseLeaveEvent(QEvent *event)
    {
        return Result(true);
    }
    virtual Result mouseWheelEvent(QWheelEvent* event){
        return Result(true);
    }

    virtual Result keyPressEvent(QKeyEvent *event)
    {
        return Result(true);
    }
    virtual Result keyReleaseEvent(QKeyEvent *event)
    {
        return Result(true);
    }
    virtual void overlayDisplay(){}
    virtual void display(){}
};

#endif // EVENTSHANDLER_H
